package interface10;

public class Pig extends Animal{

    @Override
    public void eat() {
        System.out.println("好白菜都被猪拱了");

    }

    @Override
    public void voice() {
        System.out.println("哼唧哼唧");
    }
}
